package common.dtos;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @Author: 郑国荣
 * @Date: 2024-03-06-10:45
 * @Description:
 */
//@ApiModel(value = "注册表单")
@Data
public class RegisterDto {
    //    @ApiModelProperty("昵称")
    @NotBlank(message = "昵称为空")
    private String user_nick;

    //    @ApiModelProperty("账号登录（手机号）")
    @NotBlank(message = "账号为空")
    private String account;

    //    @ApiModelProperty("密码")
    @NotBlank(message = "密码为空")
    private String password;

    @NotBlank(message = "验证码为空")
    private String captcha;

    private String registerIp;
}
